package com.example.authservice.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.example.baseserver.moudel.Page;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author 鱼凫
 * @version 1.0
 * Create by 2023/4/11 17:13
 */
@Data
@ApiModel("酒店实体")
public class HotelVO implements Serializable {
    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("是否允许设置隔离酒店")
    private Integer allowIsolation;

    @ApiModelProperty("部门id")
    private  String deptId;

    @ApiModelProperty("酒店名")
    private String name;

    @ApiModelProperty("省")
    private String province;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("酒店地址")
    private String address;

    @ApiModelProperty("酒店停车场")
    private String parkingLot;

    @ApiModelProperty("其他政策")
    private String otherPolicy;

    @ApiModelProperty("徽章")
    private String badge;

    @ApiModelProperty("经度")
    private String longitude;

    private String minLongitude;

    private String maxLongitude;

    @ApiModelProperty("纬度")
    private String latitude;

    private String minLatitude;

    private String maxLatitude;

    @ApiModelProperty("距离(输入时为半径条件,输出时为实际距离)")
    private String distance;

    @ApiModelProperty("酒店介绍")
    private String introduce;

    @ApiModelProperty("设施服务")
    private String facilities;

    @ApiModelProperty("封面")
    private String cover;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("收藏列表")
    private List<String> collection;

    @ApiModelProperty("是否删除")
    private Integer isDeleted;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    public Integer getAllowIsolation() {
        return allowIsolation;
    }

    public void setAllowIsolation(Integer allowIsolation) {
        this.allowIsolation = allowIsolation;
    }

    private Page page;

    @Override
    public String toString() {
        return "HotelVO{" +
                "id='" + id + '\'' +
                ", allowIsolation=" + allowIsolation +
                ", deptId='" + deptId + '\'' +
                ", name='" + name + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", address='" + address + '\'' +
                ", parkingLot='" + parkingLot + '\'' +
                ", otherPolicy='" + otherPolicy + '\'' +
                ", badge='" + badge + '\'' +
                ", longitude='" + longitude + '\'' +
                ", minLongitude='" + minLongitude + '\'' +
                ", maxLongitude='" + maxLongitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", minLatitude='" + minLatitude + '\'' +
                ", maxLatitude='" + maxLatitude + '\'' +
                ", distance='" + distance + '\'' +
                ", introduce='" + introduce + '\'' +
                ", facilities='" + facilities + '\'' +
                ", cover='" + cover + '\'' +
                ", sort=" + sort +
                ", isDeleted=" + isDeleted +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", page=" + page +
                '}';
    }
}
